package forkjion;

import java.util.concurrent.TimeUnit;

public class SumNormal {

    public static void main(String[] args) {
        int count=0;
        int src[]=MakeArray.getArray();
        System.out.println("start calculate.....");
        long startTime=System.currentTimeMillis();
        for (int i=0;i<MakeArray.LENGTH;i++){
            try {
                TimeUnit.MILLISECONDS.sleep(1);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            count+=1;
        }
        System.out.println("it takes"+(System.currentTimeMillis()-startTime)+"ms");
    }
}
